<%@ page import="java.io.*" %>

<jsp:include page="include/entete.jsp" flush="true">
	<jsp:param name="titre" value="Erreur"/>
	<jsp:param name="javascript" value="include/erreur.js"/>
</jsp:include>

<% Exception e = (Exception)session.getAttribute("exception"); %>

<div class="message_erreur">
<%= e.getMessage() %>
</div>
<br/>
<div style="color: red;">
<% 
  ByteArrayOutputStream baos = new ByteArrayOutputStream();
  e.printStackTrace(new PrintStream(baos));
  out.print(baos); 
%>
<div>

<jsp:include page="include/piedPage.jsp" flush="true"/>